<div class="header">
  <back-Btn></back-Btn>
  材料调拨
</div>
<div class="container finance task-review">
  <div class="list f_sk">
    <div user-info no="TaskReview.result.fileNo" depname="TaskReview.result.departmentName"
      date="TaskReview.result.applyDate" username="TaskReview.result.userName"></div>
    <div class="section">
      <div class="list-item flex">
        <div class="w40 c9">调出材料仓库 </div>
        <div class="w60" relative-module="Material_MaterialWarehouse" module-no="{{TaskReview.result.warehouseNo }}">
          {{TaskReview.result.warehouseName}}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">调出负责人 </div>
        <div class="w60">{{ TaskReview.result.checkoutUserName }}</div>
      </div>

      <div class="list-item flex">
        <div class="w40 c9">调入材料仓库 </div>
        <div class="w60" relative-module="Material_MaterialWarehouse"
          module-no="{{TaskReview.result.targetWarehouseNo }}">
          {{TaskReview.result.targetWarehouseName}}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">调入负责人 </div>
        <div class="w60">{{ TaskReview.result.checkinUserName }}</div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.useDate">
        <div class="w40 c9">需用日期 </div>
        <div class="w60">{{ TaskReview.result.useDate|dateFmt }}</div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.signDate">
        <div class="w40 c9">签收时间 </div>
        <div class="w60">{{ TaskReview.result.signDate|dateFmt }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">材料估值 </div>
        <div class="w60">{{ TaskReview.result.allocateAmount|NBFmt }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">调拨事由 </div>
        <div class="w60">{{ TaskReview.result.allocateReason }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">已调拨 </div>
        <div class="w60" ng-switch="TaskReview.result.completion">
          <div ng-switch-when="0">
            否
          </div>
          <div ng-switch-when="1">
            是
          </div>
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.remark">
        <div class="w40 c9">备注 </div>
        <div class="w60">{{ TaskReview.result.remark }}
        </div>
      </div>
      <!-- 自定义字段 -->
      <div checkuser-define field-map="TaskReview.result.customFields"></div>
      <!-- 附件 -->
      <div class="file-upload" file-list checked="true" file-data="TaskReview.result.attachment"></div>
      <div class="list table-list" ng-show="TaskReview.result.details.length">
        <div class="info-title">调拨材料明细 </div>
        <div class="table-item" ng-repeat="item in TaskReview.result.details">
          <div class="list-item">
            <div class="item-label">材料名称 </div>
            <div class="flow-content">{{ item.name }}</div>
          </div>
          <div class="list-item" ng-show="item.spec">
            <div class="item-label">规格型号 </div>
            <div class="flow-content">{{ item.spec }}</div>
          </div>
          <div class="list-item" ng-show="item.brand">
            <div class="item-label">品牌特性 </div>
            <div class="flow-content">{{ item.brand }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">调拨数量 </div>
            <div class="flow-content">{{ item.quantity }}{{ item.unit }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">单价(元) </div>
            <div class="flow-content">{{ item.price|NBFmt }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">总价(元) </div>
            <div class="flow-content">{{ item.totalPrice |NBFmt }}</div>
          </div>
          <div class="list-item" ng-show="item.remarks">
            <div class="item-label">备注 </div>
            <div class="flow-content">{{ item.remarks }}</div>
          </div>
        </div>
      </div>
    </div>
    <!-- 审查日志 -->
    <div log-list taskid="process_id"></div>
  </div>
</div>